STEP 17: Now our door looks like the right size and shape, but we have to move it around.

  • Click on Actions and drag out a Go To command.
  • Change the name in front of the .go_to() command to door.
  • You can use a shape's variable name to assign it a certain action on the stage.
  • In this case, we tell the door to Go To a certain location.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)